package org.dromara.netbar.mapper;

import org.dromara.netbar.domain.NetbarGiftPackItem;
import org.dromara.netbar.domain.vo.NetbarGiftPackItemVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;
import java.util.Map;

/**
 * 礼包-卡券关联Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-10
 */
public interface NetbarGiftPackItemMapper extends BaseMapperPlus<NetbarGiftPackItem, NetbarGiftPackItemVo> {

    List<NetbarGiftPackItemVo> queryListByPackIds(List<Long> list);

    int deleteByPackId(Long packId);

    Map<Long, Integer> countMapByCouponIds(Long[] couponIds);
}
